import java.util.Scanner;
/*
    手机号屏蔽中间四位
    substring()截取字符串
 */
public class HidePhoneNum {
    public static void main(String[] args) {
        int start = 3,end = 7;
        Scanner sc = new Scanner(System.in);

        System.out.println("请输入手机号");
        String Phone = sc.nextLine();
        String P_f = Phone.substring(0,start);
        String P_b = Phone.substring(end,Phone.length());

        System.out.println(P_f + "****" + P_b);
    }
}
